package net.wofly.sale.report.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import net.wofly.sale.commodity.domain.Commodity;

/**
 * 店面出库汇总
 * @author siqingwei
 * @date 2018/4/22
 */
@Setter
@Getter
public class StockDTO {
    /**
     * 店面(或业务经理)ID
     */
    @ApiModelProperty(value = "店面(或业务经理)ID")
    private String id;
    /**
     * 店面(或业务经理)名称
     */
    @ApiModelProperty(value = "店面(或业务经理)名称")
    private String name;
    /**
     * 终端商品ID
     */
    @ApiModelProperty(value = "终端商品ID")
    private String commodityTerminalID;

    /**
     * 终端商品名称
     */
    @ApiModelProperty(value = "终端商品名称")
    private String commodityTerminalName;

    /**
     * 终端商品数量
     */
    @ApiModelProperty(value = "终端商品数量")
    private Long sumNum;
    
    @ApiModelProperty(value = "商品信息")
    private Commodity commodity;

    @Override
    public String toString() {
        return "ManagerOutStockDTO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", commodityTerminalID='" + commodityTerminalID + '\'' +
                ", commodityTerminalName='" + commodityTerminalName + '\'' +
                ", sumNum='" + sumNum + '\'' +
                '}';
    }
}
